#include<stdio.h>
int main(){
	char ax[]={1,4,5,7,9,6,};
	char *p = ax;
	printf("p=%p\n",p);
	printf("p+1=%p\n",p+1);
	printf("*(p+1)=%d\n",*(p+1));
	int ar[]={1,4,5,7,9,6 ,-1};
	int *q = ar;
	printf("q = %p\n",q);
	printf("q+1 = %p\n",q+1);
	printf("*(q+1 )= %d\n",*(q+1));
	printf("*(++q)=%d\n",*(++q));
	int *q1 = &ar[4];
	printf("q1-q=%d\n",q1-q);
	int i;
	for(i=0;i<sizeof(ar)/sizeof(ar[0]);i++){
			printf("%d\n",ar[i]);
	}
	while(*q!=-1){
		printf("%d\n",*q++);
	}
	return 0;
}
